package model;

import codeGenerator.visitor.IMetaModelVisitor;

public class AttributeElement {

	private String mName = "";

	private String mType = "";

	private String mVisibility;

	private String mDefaultValue;

	public AttributeElement(String aName) {
		this.setName(aName);
	}

	public void setType(String aType) {
		this.mType = aType;
	}

	public void setDefaultValue(String aDefaultValue) {
		this.mDefaultValue = aDefaultValue;
	}

	public String getVisibility() {
		return this.mVisibility;
	}

	public void setVisibility(String mVisibility) {
		this.mVisibility = mVisibility;
	}

	public void accept(IMetaModelVisitor aGenerator) {
		aGenerator.visitAttributeElement(this);
	}

	public String getType() {
		return mType;
	}

	public String getDefaultValue() {
		return mDefaultValue;
	}

	public String getName() {
		return mName;
	}

	public void setName(String mName) {
		this.mName = mName;
	}
}
